<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<html>
<head>
<title>MD5</title>
<script language="javascript">
function myReload(){
	document.getElementById("createCode").src=document.getElementById("createCode").src+"?nocache="+new Date().getTime();
}
</script>

</head>
<body>
<div align="center">
<form name="form1" method="post" action="deal.jsp">
  <table width="400" border="0">
    <tr>
      <td width="80"><div align="left">username:</div></td>
      <td colspan="2"><label>
        <input name="username" type="text" id="username" size="20" maxlength="20">
      </label></td>
    </tr>
    <tr>
      <td width="80"><div align="left">password:</div></td>
      <td colspan="2"><label>
        <input name="password" type="password" id="password" size="20" maxlength="20">
      </label></td>
    </tr>
    <tr>
      <td><div align="left">checkcode:</div></td>
      <td width="149"><label>
        <input name="checkCode" type="text" id="checkCode" size="20" maxlength="20">
      </label></td>
      <td width="150"><img src="MD5Check" id="createCode" onClick="myReload()"></td>
    </tr>
    <tr>
      <td colspan="3"><label>
          <input type="submit" name="submit" id="submit" value="Login">
        <a href="#">免费注册</a>
      </label></td>
    </tr>
  </table>
</form>
</div>
</body>
</html>